
package combat.example.protocol.interfaces;

import java.io.Serializable;

import combat.example.protocol.data.DoublePoint;
import combat.example.protocol.types.OrderType;


/**
 * @author Laurens Andriessen
 * @version 1.0
 */
public interface OrderInt extends Serializable {

	int orderID = -1;
	public int getOrderID();
	public void setOrderID(int orderID);

	DoublePoint target = null;
	public DoublePoint getTarget();
	public void setTarget(DoublePoint target);

	OrderType type = OrderType.UNKNOWN;
	public OrderType getType();
	public void setType(OrderType type);

	interface MovementInt extends OrderInt {

		double speed = 0.0;
		public double getSpeed();
		public void setSpeed(double speed);

	}

	interface AttackInt extends OrderInt {

		int systemID = -1;
		public int getSystemID();
		public void setSystemID(int systemID);

	}
}
